package runtime

import "gitee.com/shoyer/service/config"

// IsLocal IsLocal
func IsLocal() bool {
	return config.GetEnv() == "local"
}

// IsDev IsDev
func IsDev() bool {
	return config.GetEnv() == "dev"
}

// IsProd IsProd
func IsProd() bool {
	return config.GetEnv() == "prod"
}
